package org.dromara.xhlj.domain.bo;

import org.dromara.xhlj.domain.XhljActivityAgendaParticipants;
import lombok.*;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.*;

import java.util.Date;
import java.io.Serial;
import java.io.Serializable;

/**
 * 参会人员议程安排业务对象 xhlj_activity_agenda_participants
 *
 * @author yf
 * @date 2024-07-28
 */
@Data
@AutoMapper(target = XhljActivityAgendaParticipants.class, reverseConvertGenerate = false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class XhljActivityAgendaParticipantsBo extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 参会人员议程安排ID
     */
    @NotNull(message = "参会人员议程安排ID不能为空", groups = {EditGroup.class})
    private Integer activityAgendaParticipantId;
    /**
     * 活动议程ID
     */
    @NotNull(message = "活动议程ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private Integer activityAgendaId;
    /**
     * 参会人员ID
     */
    @NotNull(message = "参会人员ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private Integer participantsId;
    /**
     * 创建人sys_user（大会管理员/活动负责人）
     */
     private Integer createBy;
}
